package com.zhuss.bean.vo.core.auth;

import java.util.Collections;
import java.util.List;

import com.zhuss.bean.unit.core.auth.ListUserMenuTreeVo;
import com.zhuss.bean.unit.core.auth.MenuBean;
import com.zhuss.bean.unit.core.auth.ResourceBean;
import com.zhuss.common.AbstractVo;

public class AuthVo extends AbstractVo {
	
	private List<MenuBean> menuList;
	
	private List<ListUserMenuTreeVo> menuTreeList;
	
	private List<ResourceBean> resourceList;

	public List<MenuBean> getMenuList() {
		return menuList;
	}

	public void setMenuList(List<MenuBean> menuList) {
		this.menuList = menuList;
	}

	public List<ListUserMenuTreeVo> getMenuTreeList() {
		Collections.sort(menuTreeList);
		return menuTreeList;
	}

	public void setMenuTreeList(List<ListUserMenuTreeVo> menuTreeList) {
		this.menuTreeList = menuTreeList;
	}

	public List<ResourceBean> getResourceList() {
		return resourceList;
	}

	public void setResourceList(List<ResourceBean> resourceList) {
		this.resourceList = resourceList;
	}

}
